package cn.eeany.zutools.mapdb

import org.mapdb.DB
import org.mapdb.DBMaker
//https://www.cnblogs.com/shuimutong/p/11438216.html
import java.util.concurrent.ConcurrentMap

DB db = DBMaker.memoryDB().make();
ConcurrentMap map = db.hashMap("map").createOrOpen();
String key = "Hello";
String val = "simple";
map.put(key, val);
System.out.println("第1次取值，" + map.get(key));
db.close()